Optimal. Leaf size=27 \[ \frac{a x^{4 n}}{4 n}+\frac{b x^{5 n}}{5 n} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0230532, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{a x^{4 n}}{4 n}+\frac{b x^{5 n}}{5 n} \]
Antiderivative was successfully verified.
[In] Int[x^(-1 + 4*n)*(a + b*x^n),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 4.01291, size = 19, normalized size = 0.7 \[ \frac{a x^{4 n}}{4 n} + \frac{b x^{5 n}}{5 n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(-1+4*n)*(a+b*x**n),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0101591, size = 22, normalized size = 0.81 \[ \frac{x^{4 n} \left (5 a+4 b x^n\right )}{20 n} \]
Antiderivative was successfully verified.
[In] Integrate[x^(-1 + 4*n)*(a + b*x^n),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.027, size = 28, normalized size = 1. \[{\frac{a \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{4}}{4\,n}}+{\frac{b \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{5}}{5\,n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(-1+4*n)*(a+b*x^n),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)*x^(4*n - 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.222595, size = 30, normalized size = 1.11 \[ \frac{4 \, b x^{5 \, n} + 5 \, a x^{4 \, n}}{20 \, n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)*x^(4*n - 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 14.5463, size = 26, normalized size = 0.96 \[ \begin{cases} \frac{a x^{4 n}}{4 n} + \frac{b x^{5 n}}{5 n} & \text{for}\: n \neq 0 \\\left (a + b\right ) \log{\left (x \right )} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(-1+4*n)*(a+b*x**n),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )} x^{4 \, n - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)*x^(4*n - 1),x, algorithm="giac")
[Out]